package jp.ddo.trismegistos.controller.list;

import jp.ddo.trismegistos.framework.annotation.ServiceClass;
import jp.ddo.trismegistos.framework.controller.Controller;
import jp.ddo.trismegistos.framework.controller.Navigation;
import jp.ddo.trismegistos.service.EventService;

public class IndexController extends Controller {

	@ServiceClass
	protected EventService eventService;

	@Override
	protected Navigation run() throws Exception {

		requestScope("eventList", eventService.getEventList());
		return forward("index.jsp");
	}

}
